package com.hpli.infrastructure.persistent.po;

import java.util.Date;

/**
 * Table: award
 */
public class Award {
    /**
     * Column: id
     * Type: INT UNSIGNED
     * Remark: 自增ID
     */
    private Integer id;

    /**
     * Column: award_id
     * Type: INT
     * Remark: 抽奖奖品ID - 内部流转使用
     */
    private Integer awardId;

    /**
     * Column: award_key
     * Type: VARCHAR(32)
     * Remark: 奖品对接标识 - 每一个都是一个对应的发奖策略
     */
    private String awardKey;

    /**
     * Column: award_config
     * Type: VARCHAR(32)
     * Remark: 奖品配置信息
     */
    private String awardConfig;

    /**
     * Column: award_desc
     * Type: VARCHAR(128)
     * Remark: 奖品内容描述
     */
    private String awardDesc;

    /**
     * Column: create_time
     * Type: DATETIME
     * Default value: CURRENT_TIMESTAMP
     * Remark: 创建时间
     */
    private Date createTime;

    /**
     * Column: update_time
     * Type: DATETIME
     * Default value: CURRENT_TIMESTAMP
     * Remark: 更新时间
     */
    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAwardId() {
        return awardId;
    }

    public void setAwardId(Integer awardId) {
        this.awardId = awardId;
    }

    public String getAwardKey() {
        return awardKey;
    }

    public void setAwardKey(String awardKey) {
        this.awardKey = awardKey == null ? null : awardKey.trim();
    }

    public String getAwardConfig() {
        return awardConfig;
    }

    public void setAwardConfig(String awardConfig) {
        this.awardConfig = awardConfig == null ? null : awardConfig.trim();
    }

    public String getAwardDesc() {
        return awardDesc;
    }

    public void setAwardDesc(String awardDesc) {
        this.awardDesc = awardDesc == null ? null : awardDesc.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}